package com.scoy.honeymei.bean;

import java.util.List;

/**
 * ClassName:      com.scoy.honeymei.bean
 * Description:
 * Author:         GaoZhan & Administrator
 * UpdateDate:     2019/10/28/0028$ 上午 10:17$
 * UpdateRemark:   更新内容
 */
public class CityBean {

    /**
     * id : 22
     * pid : 0
     * name : 河南省
     * child : [{"id":23,"pid":22,"name":"郑州市","child":[{"id":24,"pid":23,"name":"中原区"},{"id":25,"pid":23,"name":"二七区"}]}]
     */

    private int id;
    private int pid;
    private String name;
    private List<CityBean> child;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CityBean> getChild() {
        return child;
    }

    public void setChild(List<CityBean> child) {
        this.child = child;
    }

    public static class ChildBeanX {
        /**
         * id : 23
         * pid : 22
         * name : 郑州市
         * child : [{"id":24,"pid":23,"name":"中原区"},{"id":25,"pid":23,"name":"二七区"}]
         */

        private int id;
        private int pid;
        private String name;
        private List<ChildBean> child;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<ChildBean> getChild() {
            return child;
        }

        public void setChild(List<ChildBean> child) {
            this.child = child;
        }

        public static class ChildBean {
            /**
             * id : 24
             * pid : 23
             * name : 中原区
             */

            private int id;
            private int pid;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getPid() {
                return pid;
            }

            public void setPid(int pid) {
                this.pid = pid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
